<div class="header">
    <back-Btn cleancache="no"></back-Btn>
    <div class="search-wrapper" style="display:inline-block">
        {{title}}
        <div class="right-btn" ng-click="searchID()">
            搜索
        </div>
    </div>
</div>
<div class="container tablestyle finacetablestyle">
    <div class="list" infinite-scroll='taskList.nextPage()' infinite-scroll-disabled='taskList.busy' infinite-scroll-distance='0' infinite-scroll-container='".finacetablestyle"'>
        <div class="list-item" ng-click="choosePeople($index)" ng-dblclick="submit()" ng-class="{'selected':isSelect($index)}" ng-repeat="item in taskList.items">
            <div class="grid list-content">
                <div class="col-1-4 c9">工程名称</div>
                <div class="col-3-4">{{item.projectName}}</div>
            </div>
            <div class="grid list-content">
                <div class="col-1-4 c9">业绩类型</div>
                <div class="col-3-4">{{item.projectType}}</div>
            </div>
            <div class="grid list-content">
                <div class="col-1-4 c9">建造师</div>
                <div class="col-3-4">{{item.projectManager}}</div>
            </div>
            <div class="btn tc" ng-show="isSelect($index)" ng-click="submit()">选定</div>
        </div>
        <div ng-show='taskList.busy' class="tc">{{taskList.tip}}</div>
    </div>
</div>
<!-- 选择办证明细子项目 -->
<div class="list tablestyle pickceritem" ng-show="showCerPicker">
    <div class="list-item">
        <div class="grid list-content">
            <div class="col-1-4 c9">业绩类型</div>
            <div class="col-3-4">
                <select ng-model="picker.projectType" ng-options="item.value as item.key for item in resiTypeList" ng-change="projectTypechange(picker.projectType)">
                    <option value="">选择业绩类型</option>
                </select>
            </div>
        </div>
        <div class="grid list-content">
            <div class="col-1-4 c9">业绩指标</div>
            <div class="col-3-4">
                <select ng-model="picker.kpiName1" ng-options="item.value as item.key for item in kpiList" ng-disabled="picker.projectType=='其他'">
                    <option value="">选择业绩指标</option>
                </select>
            </div>
        </div>
        <div class="grid list-content">
            <div class="col-1-4 c9">范围</div>
            <div class="col-3-4">
                <select ng-model="picker.operation1" ng-options="item[1] as item[0] for item in rangelist" ng-disabled="!picker.kpiName1">
                    <option value="">选择范围</option>
                </select>
            </div>
        </div>
                <div class="grid list-content">
            <div class="col-1-4 c9">值</div>
            <div class="col-3-4">
               <input type="text" ng-model="picker.kpiValue1" tel-directive ng-readonly="!picker.operation1"/>
            </div>
        </div>
        <div class="grid list-content">
            <div class="col-1-4 c9">建造师</div>
            <div class="col-3-4">
                <input type="text" ng-model="picker.projectManager" />
            </div>
        </div>
        <div class="grid list-content">
            <div class="col-1-4 c9">工程名称</div>
            <div class="col-3-4">
                <input type="text" ng-model="picker.projectName" />
            </div>
        </div>
    </div>
    <div class="pickceritem-btn tc flex">
        <div class="cancel" ng-click="cacelDialog()">取消</div>
        <div class="confirm" ng-click="search()">确定</div>
    </div>
</div>
